#pragma once

#include "GameObjects\Face.h"

using namespace Platform;

enum Powerup
{
	None,
	Split,
	Slow
};

ref class WallTile : Face
{
public:

internal:
	WallTile(
		DirectX::XMFLOAT3 origin,
		DirectX::XMFLOAT3 p1,
		DirectX::XMFLOAT3 p2
		);

	virtual void Update(GameEngine^ engine) override;

	__forceinline bool Corner() { return m_corner; }
	__forceinline void Corner(bool corner) { m_corner = corner; }

	__forceinline Powerup GetPowerup() { return m_powerup; }
	void SetPowerup(Powerup powerup);

private:
	bool m_corner;
	Powerup m_powerup;
};
